package com.zr.eim.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.common.annotation.Excel;
import com.zr.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 核酸检查任务对象 eim_data_nucleic_acid_check
 * 
 * @author peihang
 * @date 2022-10-21
 */
public class EimDataNucleicAcidCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String personId;

    /** 检测机构 */
    @Excel(name = "检测机构")
    private String inspectionOrg;

    /** 核酸采集点 */
    @Excel(name = "核酸采集点")
    private String acquisitionOrg;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date acquisitionTime;

    /** 检测完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionTime;

    /** 是否检验完成：1完成，0检测中 */
    @Excel(name = "是否检验完成：1完成，0检测中")
    private Long finish;

    /** 检验结果：1阳性/0阴性 */
    @Excel(name = "检验结果：1阳性/0阴性")
    private Long result;

    /** 检测类型：单人单管/十混一检测等等 */
    @Excel(name = "检测类型：单人单管/十混一检测等等")
    private String type;

    /** 检测方式：咽拭子、鼻拭子等 */
    @Excel(name = "检测方式：咽拭子、鼻拭子等")
    private String mode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPersonId(String personId) 
    {
        this.personId = personId;
    }

    public String getPersonId() 
    {
        return personId;
    }
    public void setInspectionOrg(String inspectionOrg) 
    {
        this.inspectionOrg = inspectionOrg;
    }

    public String getInspectionOrg() 
    {
        return inspectionOrg;
    }
    public void setAcquisitionOrg(String acquisitionOrg) 
    {
        this.acquisitionOrg = acquisitionOrg;
    }

    public String getAcquisitionOrg() 
    {
        return acquisitionOrg;
    }
    public void setAcquisitionTime(Date acquisitionTime) 
    {
        this.acquisitionTime = acquisitionTime;
    }

    public Date getAcquisitionTime() 
    {
        return acquisitionTime;
    }
    public void setInspectionTime(Date inspectionTime) 
    {
        this.inspectionTime = inspectionTime;
    }

    public Date getInspectionTime() 
    {
        return inspectionTime;
    }
    public void setFinish(Long finish) 
    {
        this.finish = finish;
    }

    public Long getFinish() 
    {
        return finish;
    }
    public void setResult(Long result) 
    {
        this.result = result;
    }

    public Long getResult() 
    {
        return result;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setMode(String mode) 
    {
        this.mode = mode;
    }

    public String getMode() 
    {
        return mode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("inspectionOrg", getInspectionOrg())
            .append("acquisitionOrg", getAcquisitionOrg())
            .append("acquisitionTime", getAcquisitionTime())
            .append("inspectionTime", getInspectionTime())
            .append("finish", getFinish())
            .append("result", getResult())
            .append("type", getType())
            .append("mode", getMode())
            .toString();
    }
}
